<?php
if(!defined('IN_DISCUZ')){exit('Access Denied!');}
class plugin_qwy_showtimeontop {
	function global_cpnav_extra1() {
		$str = '
			<span id="runningtime"></span>
			<script type="text/javascript">
			function showtimeontop() {
				var d = new Date();
				document.getElementById("runningtime").innerHTML = d.toString();
				setTimeout(showtimeontop, 1000);
			}
			showtimeontop();
			</script>
		';
		return $str;
	}
}
?>